<template>
  <div class="right-float">
    <div class="float-box flex-center" @click="toRegister">
      <img src="../../assets/images/float/computer.png" alt="" width="30" heieght="30">
      <div>免费试用</div>
    </div>
    <div class="float-box flex-center" @click="toService">
      <div style="width:30px;
      height:30px;"></div>
      <div @click="lineServe">在线客服</div>
    </div>
  </div>
</template>
<script>
export default {
  name: '',
  data () {
    return {

    }
  },
  methods: {
    toRegister () {
      this.$emit('toRegisterCall')
    },
    toService () {
      this.$emit('toServicCall')
    },
    lineServe () {
      // document.getElementById('zhichiBtnBox').trigger('click')
    }
  }
}
</script>
<style lang="less" scoped>
.right-float{
  position: fixed;
  right:0;
  top:569px;
  z-index:20;
  background-color:#fff;
}
.float-box{
  width: 72px;
  height: 72px;
  background: @mainColor;
  margin-top:1px;
  font-size: 14px;
  color: #ffffff;
  flex-direction: column;
}
</style>


